package com.zhao.pojo;

public class User {
    private String username;
    private String password;
    private String userID;
    private int userType;
    private String universityName;
    private String universityID;

    public User(String username, String password, String userID, int userType, String universityName, String universityID) {
        this.username = username;
        this.password = password;
        this.userID = userID;
        this.userType = userType;
        this.universityName = universityName;
        this.universityID = universityID;
    }

    @Override
    public String toString() {
        return "User{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", userID='" + userID + '\'' +
                ", userType=" + userType +
                ", universityName='" + universityName + '\'' +
                ", universityID='" + universityID + '\'' +
                '}';
    }

    public String getUniversityID() {
        return universityID;
    }

    public void setUniversityID(String universityID) {
        this.universityID = universityID;
    }

    public User(String username, String password, String userID, int userType, String universityName) {
        this.username = username;
        this.password = password;
        this.userID = userID;
        this.userType = userType;
        this.universityName = universityName;
    }

    public String getUniversityName() {
        return universityName;
    }

    public void setUniversityName(String universityName) {
        this.universityName = universityName;
    }

    public String getUserID() {
        return userID;
    }

    public User(String username, String password, String userID, int userType) {
        this.username = username;
        this.password = password;
        this.userID = userID;
        this.userType = userType;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public User(String username, String password, int userType) {
        this.username = username;
        this.password = password;
        this.userType = userType;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getUserType() {
        return userType;
    }

    public void setUserType(int userType) {
        this.userType = userType;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public User() {
    }

    public User(String username) {
        this.username = username;
    }

}
